﻿<!DOCTYPE HTML>
<html>
<head>
<#include "/script.ftl">
<link rel="stylesheet" type="text/css" href="../static/eth/css/customer.css" />
<script type="text/javascript" src="../static/eth/js/resume.js"></script>
<script type="text/javascript" src="../static/eth/js/jElass.js"></script>
<script type="text/javascript" src="../static/eth/js/userEdit.js"></script>
<title>用户详情</title>
</head>
<body>
	<div class="page-container">
		<form id="form" class="form form-horizontal" action="save" autocomplete="off">
			<input type="hidden" name="userId" value="${user.userId!}">
			<div class="row cl">
				<label class="form-label col-xs-6 col-sm-6">姓名</label>
				<div class="formControls col-xs-6 col-sm-6">
					<input type="text"  value="${user.userName!}"  name="userName" id="userName"  class="input-text common_body">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-6 col-sm-6">用户名</label>
				<div class="formControls col-xs-6 col-sm-6">
					<label class="f-l mr-10">THHK_</label>
					<input type="text" name="userCode4Show" id="userCode4Show" value="${user.userCode4Show!}"  class="input-text common_body">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-6 col-sm-6">角色</label>
				<div class=" raido-group formControls col-xs-6 col-sm-6">
					<input type="hidden" id="gender" value="${user.gender!''}" class="input-text common_body resume-check">
			        <input name="gender" type="radio" id="gender-M" value="M" checked="checked">
			        <label for="gender-1">男</label>
		                <input name="gender" type="radio" id="gender-F" value="F">
		            <label for="gender-2">女</label>
		            
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-6 col-sm-6">部门</label>
				<div class="formControls col-xs-6 col-sm-6">
					<input type="text"  value="${user.deptName!}" name="deptName" id="deptName" onClick="DeptId(deptName,deptId)" class="input-text common_body">
					<input type="hidden"  value="${user.deptId!}" id="deptId"  class="input-text common_body">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-6 col-sm-6">角色</label>
				<div class=" raido-group formControls col-xs-6 col-sm-6">
					<input type="hidden" id="vipLevel" value="${user.vipLevel!''}" class="input-text common_body resume-check">
			        <input name="vipLevel" type="radio" id="vipLevel-1" value="1" checked="checked">
			        <label for="vipLevel-1">普通员工</label>
		                <input name="vipLevel" type="radio" id="vipLevel-2" value="2">
		            <label for="vipLevel-2">部门管理员</label>
		                <input name="vipLevel" type="radio" id="vipLevel-3" value="3">
		            <label for="vipLevel-3">公司管理员</label>
				</div>
			</div>
			<div class="row cl"  >
				<label class="form-label col-xs-6 col-sm-6">职位</label>
				<div class="formControls col-xs-6 col-sm-6">
					<input type="text" name="job" value="${user.job!''}" id="job" class="input-text common_body">
				</div>
			</div>
			<div class="row cl"  >
				<label class="form-label col-xs-6 col-sm-6">生日</label>
				<div class="formControls col-xs-6 col-sm-6">
					<input type="text" name="birthday" value="${user.birthday!''}" id="birthday" class="input-text common_body Wdate" onfocus="WdatePicker()"  placeholder="yyyy-mm-dd" autocomplete="off" >
				</div>
			</div>	
			<div class="row cl"  >
				<label class="form-label col-xs-6 col-sm-6">手机号</label>
				<div class="formControls col-xs-6 col-sm-6">
					<input type="text" name="phone" value="${user.phone!''}" id="phone" class="input-text common_body">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-6 col-sm-6">密码</label>
				<div class="formControls col-xs-6 col-sm-6">
					<input type="password" name="password" value="${user.password!''}" id="password" class="input-text common_body">
				</div>
			</div>				
			<div class="row cl text-c">
				<input type="submit" value="保存" class="btn btn-primary radius">
				<input class="btn radius btn-default"  type="button" value="取消" onClick="window.parent.location.reload();" >
			</div>
		</form>
	</div>
</body>
</html>